//
//  ViewController.m
//  自定制视频播放器
//
//  Created by MyMac on 15/9/17.
//  Copyright (c) 2015年 tongfang. All rights reserved.
//

#import "ViewController.h"
#import "MoviePlayer.h"
@interface ViewController ()

@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    MoviePlayer*player=[[MoviePlayer alloc]initWithFrame:CGRectMake(0, 0, self.view.bounds.size.width, 400)];
    [player addPlayerInformation:CGRectMake(0, 0, self.view.bounds.size.width, 400)];
    [self.view addSubview:player];
    // Do any additional setup after loading the view, typically from a nib.
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

@end
